﻿using System;
using FrameWork.Context;

namespace FrameWork.Domain.Entity.DbEntity
{
    public class T_Permission : ModelBase
    {

        /// <summary>
        /// 菜单id 
        /// </summary>
        public int ModuleId {get;set;}

        /// <summary>
        /// 名称 
        /// </summary>
        public string PermissionName {get;set;}

        /// <summary>
        /// 链接 
        /// </summary>
        public string PermissionLinkUrl {get;set;}

        /// <summary>
        /// 图标 
        /// </summary>
        public string PermissionIcon {get;set;}

        /// <summary>
        /// - 
        /// </summary>
        public string EnCode {get;set;}

        /// <summary>
        /// 父节点的名称，如果没有父节点就是0 
        /// </summary>
        public int ParentId {get;set;}

        /// <summary>
        /// 排序 
        /// </summary>
        public int? Sequence {get;set;}

        /// <summary>
        /// 描述 
        /// </summary>
        public string Description {get;set;}

        /// <summary>
        /// 对应的Control 
        /// </summary>
        public string PermissionController {get;set;}

        /// <summary>
        /// 对应的Action 
        /// </summary>
        public string PermissionAction {get;set;}

        /// <summary>
        /// 是否需要数据权限控制 
        /// </summary>
        public Boolean NeedDataControl {get;set;}

        /// <summary>
        /// 是否是button 
        /// </summary>
        public Boolean IsButton {get;set;}

        /// <summary>
        /// - 
        /// </summary>
        public Boolean IsUsed {get;set;}

        /// <summary>
        /// - 
        /// </summary>
        public Boolean IsDel {get;set;}

        /// <summary>
        /// 修改人ID 
        /// </summary>
        public int EditUserId {get;set;}

        /// <summary>
        /// 修改时间 
        /// </summary>
        public DateTime EditTime {get;set;}

        /// <summary>
        /// 创建人 
        /// </summary>
        public int CreateUserId {get;set;}

        /// <summary>
        /// 创建日期 
        /// </summary>
        public DateTime CreateTime {get;set;}

    }
}
